home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / fpc / source / docs / refex / ex88.pp < prev    next >
Encoding:
Text File  |  2000-01-01  |  262 b   |  15 lines

  1. Program Example88;
  2.  
  3. { Program to demonstrate the AssignFile and CloseFile functions. }
  4.  
  5. {$MODE Delphi}
  6.  
  7. Var F : text;
  8.  
  9. begin
  10.   AssignFile(F,'textfile.txt');
  11.   Rewrite(F);
  12.   Writeln (F,'This is a silly example of AssignFile and CloseFile.');
  13.   CloseFile(F);
  14. end.
  15.